package com.qianli.user.domain.model.behavior;

import com.qianli.user.domain.model.UserAbstractStatus;

/**
 * name:app信息
 * auth:ting.li@qianli-inc.com
 * date:2018/1/2 10:17
 * version: v1.0.0
 **/
public class UserBehaviorAppInfo extends UserAbstractStatus {
    /**
     * 用户code
     */
    private String userCode;

    /**
     * 平台
     * @see com.qianli.common.enums.PlatformEnum
     */
    private Integer plat;
    /**
     * app 版本
     */
    private String version;
    /**
     * ios  andriod app版本
     */
    private String versionCode;

    /**
     * push类型
     * @see com.qianli.common.enums.PushTypeEnum
     */
    private Integer pushType;
    /**
     * push id
     */
    private String pushId;
    /**
     * 客户端id
     */
    private String guestId;

    /**
     * 渠道
     */
    private String channel;
    /**
     * 渠道id
     */
    private Integer channelId;
    /**
     * ip
     */
    private String ip;
    /**
     * 登录或注册来源
     */
    private String from;

    private String packageName;

    public String getPackageName() {
        return packageName;
    }

    public UserBehaviorAppInfo setPackageName(String packageName) {
        this.packageName = packageName;
        return this;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public Integer getPlat() {
        return plat;
    }

    public void setPlat(Integer plat) {
        this.plat = plat;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getGuestId() {
        return guestId;
    }

    public void setGuestId(String guestId) {
        this.guestId = guestId;
    }

    public String getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(String versionCode) {
        this.versionCode = versionCode;
    }

    public Integer getPushType() {
        return pushType;
    }

    public void setPushType(Integer pushType) {
        this.pushType = pushType;
    }

    public String getPushId() {
        return pushId;
    }

    public void setPushId(String pushId) {
        this.pushId = pushId;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public Integer getChannelId() {
        return channelId;
    }

    public void setChannelId(Integer channelId) {
        this.channelId = channelId;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }
}
